/*
 * wanglongbiao
 */

package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.CategoryProp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryPropMapper extends BaseMapper<CategoryProp> {

    void insertCategoryProp(@Param("categoryId") Long categoryId, @Param("propIds") List<Long> propIds);

    void deleteByCategoryId(Long categoryId);

    void deleteByPropId(Long propId);
}